export const props = {
  src: {
    type: String,
    default: "",
  },
  width: {
    type: [String, Number],
    default: void 0,
  },
  height: {
    type: [String, Number],
    default: void 0,
  },
  title: {
    type: String,
    default: void 0,
  },
  showLoader: {
    type: Boolean,
    default: false,
  },
  alt: {
    type: String,
    default: void 0,
  },
  mode: {
    type: String,
    default: void 0,
  },
  /**
   * @zh 是否开启预览
   * @en Whether to enable preview
   */
  preview: {
    type: Boolean,
    default: true,
  },
  /**
   * @zh 控制预览的打开状态，可与 previewVisibleChange 配合使用
   * @en Control the open state of the preview, can be used in conjunction with previewVisibleChange
   * @vModel
   */
  previewVisible: {
    type: Boolean,
    default: undefined,
  },
  /**
   * @zh 预览的默认打开状态
   * @en The default open state of the preview
   */
  defaultPreviewVisible: {
    type: Boolean,
    default: false,
  },
  /**
   * @zh 预览的配置项（所有选项都是可选的） [ImagePreviewProps](#image-preview%20Props)
   * @en Preview configuration items (all options are optional) [ImagePreviewProps](#image-preview%20Props)
   */
  previewProps: {
    type: Object,
  },
};
